<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:pe="http://primefaces.org/ui/extensions">
    <h:head>
        <title>#{bundle.savconfig}</title>
        <link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
    </h:head>
    <h:body>
        <ui:composition>
            <h:form>
                <p:toolbar>
                    <p:toolbarGroup align="left">
                        <p:commandButton value="#{bundle.btnSave}" image="ui-icon-disk" action="#{savconfigBean.save()}"
                                         rendered="#{ugpolicyBean.cekButtonAccess(180,'INS;')}"/>
                    </p:toolbarGroup>
                    
                    <p:toolbarGroup align="right">
                        <p:commandButton id="doNothingSavconfig" type="button" value="" style="width: 0px; height: 0px;"/> 
                        <p:defaultCommand target="doNothingSavconfig"/> 
                    </p:toolbarGroup>
                    
                </p:toolbar>

                <h:panelGrid id="displaySavconfig" cellpadding="0" styleClass="addELIT">
                    <p:panel>
                        <h:panelGrid columns="3" cellpadding="0" cellspacing="5" >
                            <h:outputLabel value= "#{bundle.companyID}" /><h:outputLabel value= ": " />
                            <h:outputText value="#{savconfigBean.compName}" />
                                
<!--                            <h:outputLabel value= "#{bundle.depSavtrans}" /><h:outputLabel value= ": " />
                            <p:inputText label="#{bundle.depSavtrans}">
                            </p:inputText>
                                
                            <h:outputLabel value= "#{bundle.wdSavtrans}" /><h:outputLabel value= ": " />
                            <p:inputText label="#{bundle.wdSavtrans}">
                            </p:inputText>
                                
                            <h:outputLabel value= "#{bundle.intSavtrans}" /><h:outputLabel value= ": " />
                            <p:inputText label="#{bundle.intSavtrans}">
                            </p:inputText>
                                
                            <h:outputLabel value= "#{bundle.taxSavtrans}" /><h:outputLabel value= ": " />
                            <p:inputText label="#{bundle.taxSavtrans}">
                            </p:inputText>
                                
                            <h:outputLabel value= "#{bundle.trxSavtrans}" /><h:outputLabel value= ": " />
                            <p:inputText label="#{bundle.trxSavtrans}">
                            </p:inputText>
                                
                            <h:outputLabel value= "#{bundle.debSavtrans}" /><h:outputLabel value= ": " />
                            <p:inputText value="" />
                            
                            <h:outputLabel value= "#{bundle.taxFreeOpt}" /><h:outputLabel value= ": " />
                            <p:inputText value="" />-->
                            
<!--                            <h:outputLabel value= "#{bundle.maxTaxFreeBalance}" /><h:outputLabel value= ": " />
                            <pe:inputNumber styleClass="money" decimalPlaces="." thousandSeparator="," 
                                            value="#{savconfigBean.maxTaxFreeBalance}" immediate="true"/>
                            
                            <h:outputLabel value= "#{bundle.maxTaxFreeInterest}" /><h:outputLabel value= ": " />
                            <pe:inputNumber styleClass="money" decimalPlaces="." thousandSeparator="," 
                                            value="#{savconfigBean.maxTaxFreeInterest}" />-->
                            
                            <h:outputLabel value= "#{bundle.principalSavprod}" /><h:outputLabel value= ": " />
                            <p:selectOneMenu value="#{savconfigBean.savconfig.principalSavprodId}" >
                                <f:selectItems value="#{savconfigBean.avblProd}" />
                            </p:selectOneMenu>
                            
                            <h:outputLabel value= "#{bundle.interbranchApGlaccountId}" /><h:outputLabel value= ": " />
                            <p:selectOneMenu value="#{savconfigBean.savconfig.interbranchApGlaccountId}" >
                                <f:selectItems value="#{savconfigBean.avblGL}" />
                            </p:selectOneMenu>
                            
                            <h:outputLabel value= "#{bundle.interbranchArGlaccountId}" /><h:outputLabel value= ": " />
                            <p:selectOneMenu value="#{savconfigBean.savconfig.interbranchArGlaccountId}" >
                                <f:selectItems value="#{savconfigBean.avblGL}" />
                            </p:selectOneMenu>
                            
                        </h:panelGrid>
                    </p:panel>
                </h:panelGrid>
            </h:form>
        </ui:composition>
    </h:body>
</html>